package com.example.administrator.caigou51.bean;

import java.util.List;

/**
 * Created by Administrator on 2016/8/17/017.
 */
public class MainDataBean {

          String  xn_id;


        /**
         * title : 网站首页图片轮播1
         * url :
         * image_src : http://www.51caiyao.com/file/upload/201604/20/19-57-24-49-1.jpg
         */

        private List<BannerEntity> banner;
        /**
         * catid : 86
         * catname : 特价促销
         * thumb :
         */

        private List<PrefectureEntity> prefecture;
        /**
         * title : 新乐敦 复方门冬维甘滴眼液
         * itemid : 1230414948
         * price : 23.90
         * ship_price : 17.00
         * thumb : http://img01.kzj365.com/images/201411/goods_img/1947_G_1416305348190.jpg
         * corporation : 曼秀雷敦(中国)药业有限公司
         * sales : 0
         * product_spec : 13ml
         */

        private List<HotsellEntity> hotsell;

        public void setBanner(List<BannerEntity> banner) {
            this.banner = banner;
        }

        public void setPrefecture(List<PrefectureEntity> prefecture) {
            this.prefecture = prefecture;
        }

        public void setHotsell(List<HotsellEntity> hotsell) {
            this.hotsell = hotsell;
        }

        public List<BannerEntity> getBanner() {
            return banner;
        }

        public List<PrefectureEntity> getPrefecture() {
            return prefecture;
        }

        public List<HotsellEntity> getHotsell() {
            return hotsell;
        }

        public static class BannerEntity {
            private String title;
            private String url;
            private String image_src;

            public void setTitle(String title) {
                this.title = title;
            }

            public void setUrl(String url) {
                this.url = url;
            }

            public void setImage_src(String image_src) {
                this.image_src = image_src;
            }

            public String getTitle() {
                return title;
            }

            public String getUrl() {
                return url;
            }

            public String getImage_src() {
                return image_src;
            }
        }

        public static class PrefectureEntity {
            private int catid;
            private String catname;
            private String thumb;

            public void setCatid(int catid) {
                this.catid = catid;
            }

            public void setCatname(String catname) {
                this.catname = catname;
            }

            public void setThumb(String thumb) {
                this.thumb = thumb;
            }

            public int getCatid() {
                return catid;
            }

            public String getCatname() {
                return catname;
            }

            public String getThumb() {
                return thumb;
            }
        }

        public static class HotsellEntity {
            private String title;
            private String itemid;
            private String price;
            private String ship_price;
            private String thumb;
            private String corporation;
            private String sales;
            private String product_spec;
            private String promotion;
            private String promotion_price;
            private String  promotion_name;



            public String getPromotion() {
                return promotion;
            }

            public void setPromotion(String promotion) {
                this.promotion = promotion;
            }

            public void setTitle(String title) {
                this.title = title;
            }

            public void setItemid(String itemid) {
                this.itemid = itemid;
            }

            public void setPrice(String price) {
                this.price = price;
            }

            public void setShip_price(String ship_price) {
                this.ship_price = ship_price;
            }

            public void setThumb(String thumb) {
                this.thumb = thumb;
            }

            public void setCorporation(String corporation) {
                this.corporation = corporation;
            }

            public void setSales(String sales) {
                this.sales = sales;
            }

            public void setProduct_spec(String product_spec) {
                this.product_spec = product_spec;
            }

            public String getTitle() {
                return title;
            }

            public String getItemid() {
                return itemid;
            }

            public String getPrice() {
                return price;
            }

            public String getShip_price() {
                return ship_price;
            }

            public String getThumb() {
                return thumb;
            }

            public String getCorporation() {
                return corporation;
            }

            public String getSales() {
                return sales;
            }

            public String getProduct_spec() {
                return product_spec;
            }

            public String getPromotion_price() {
                return promotion_price;
            }

            public void setPromotion_price(String promotion_price) {
                this.promotion_price = promotion_price;
            }

            public String getPromotion_name() {
                return promotion_name;
            }

            public void setPromotion_name(String promotion_name) {
                this.promotion_name = promotion_name;
            }
        }

    public String getXn_id() {
        return xn_id;
    }

    public void setXn_id(String xn_id) {
        this.xn_id = xn_id;
    }
}



